<template>
<div class="sidebar">
<!--  <el-menu class="el-menu-vertical-demo" unique-opened router @select="menuSelect">-->
<!--    <el-submenu v-for="navItem in menus" :key="navItem.path" :index="navItem.path">-->
<!--      <template slot="title">{{navItem.meta.title}}</template>-->
<!--      <el-menu-item v-for="nav in navItem.children" :key="nav.path" :index="nav.path">-->
<!--        {{nav.meta.title}}-->
<!--      </el-menu-item>-->
<!--    </el-submenu>-->
<!--  </el-menu>-->
</div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  name: 'index',
  data () {
    return {
      currentRoute: 'index'
    }
  },
  computed: {
    ...mapGetters(['menus'])
  },
  created () {
    // console.log(this.management)
  },
  methods: {
    menuSelect (e) {
      // console.log(e)
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
